import java.util.PriorityQueue;

public class priorityQueue {
    public static void main(String[] args) {
        PriorityQueue<Integer> pq = new PriorityQueue<Integer>();
        pq.offer(12);
        pq.offer(13);
        pq.offer(1);
        pq.offer(4);
        pq.offer(5);
        System.out.println(pq.peek());

    }
}
